package edu.guigu.todolist.login.model;

public class LoginModelImpl implements LoginModel {

    public void requestLogin(String username, String password, Callback callback) {
        if (username.equals("admin") && password.equals("123456")) {
            callback.onSuccess();
        }
        else{
            callback.onFailed();
        }
    }
}
